package com.ark.cloud.javacallnative.modules.storage.service.impl;

import com.ark.cloud.javacallnative.entity.LuaCmdReply;

import com.ark.cloud.javacallnative.modules.storage.mapper.LuaCmdReplyMapper;
import com.ark.cloud.javacallnative.modules.storage.service.LuaCmdReplyService;
import com.ark.cloud.javacallnative.util.UUIDUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author fukun
 * @create 2021/10/19  下午4:15
 * @description
 */
@Service
public class LuaCmdReplyServiceImpl implements LuaCmdReplyService {
    @Autowired
    LuaCmdReplyMapper luaCmdReplyDao;
    @Override
    public void saveLuaCmdReplyInfo(LuaCmdReply luaCmdReply) {

        luaCmdReply.setId(UUIDUtil.next());
        System.out.println("luaCmdReply:"+luaCmdReply);
        luaCmdReplyDao.saveLuaCmdReplyInfo(luaCmdReply);
    }
}
